package com.liang.cloud.Dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: 余亮亮
 * @description:
 * @create: 2019-12-29 13:34:33
 **/
@Data
@NoArgsConstructor
public class CartDTO implements Serializable {

    /** 商品Id. */
    private String productId;

    /** 数量. */
    private Integer productQuantity;

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}
